package com.lhy.consumeropenfeign.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Liu Hangyu
 * @date 2022/1/8 14:27
 */
@FeignClient(name = "login", path = "")
public interface LoginFeignService {

    @PostMapping("login/login")
    String login(@RequestBody String username);

}
